package net.zjitc.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

/**
 * @auther 郭梦婷
 * @create 2022-05-02 11:59:58
 * @describe 实体类
 */
@TableName("carouse")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value="Carouse对象", description="")
@Data
public class Carouse implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("picname")
    private String picname;

    @TableField("picsrc")
    private String picsrc;

    @TableField("addtime")
    private Date addtime;


    public Integer getId() {
            return id;
            }

        public Carouse setId(Integer id) {
            this.id = id;
                return this;
            }

    public String getPicname() {
        return picname;
    }

    public void setPicname(String picname) {
        this.picname = picname;
    }

    public String getPicsrc() {
        return picsrc;
    }

    public void setPicsrc(String picsrc) {
        this.picsrc = picsrc;
    }

    public Date getAddtime() {
            return addtime;
            }

        public Carouse setAddtime(Date addtime) {
            this.addtime = addtime;
                return this;
            }

@Override
public String toString() {
        return "Carouse{" +
                "id=" + id +
                ", picname=" + picname +
                ", picsrc=" + picsrc +
                ", addtime=" + addtime +
        "}";
        }
        }